package com.keymozy.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("rol")
public class Menu {
    private Integer id;
    private String rname;
    private String path;
    @TableField(exist = false)
    private String label;
    private Integer pid;
    private byte flag;
    private String tap;
    @TableField(exist = false)
    private Integer level;
    @TableField(exist = false)
    private List<Menu> children;
}
